<?php /* Smarty version Smarty-3.1.8, created on 2012-05-21 04:01:11
         compiled from "application/views/templates\main\diary.tpl" */ ?>
<?php /*%%SmartyHeaderCode:67804fb9be074d9bd6-90375741%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8da28176b293aab6e02aa091a0e4fd25e3dbe922' => 
    array (
      0 => 'application/views/templates\\main\\diary.tpl',
      1 => 1337438308,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '67804fb9be074d9bd6-90375741',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'diary' => 0,
    'row' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fb9be075cbb73_69285082',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fb9be075cbb73_69285082')) {function content_4fb9be075cbb73_69285082($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'D:\\wamp\\www\\tourini\\system\\libs\\smarty\\libs\\plugins\\modifier.date_format.php';
?>		<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['diary']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
 $_smarty_tpl->tpl_vars['val']->value = $_smarty_tpl->tpl_vars['row']->key;
?>
			
		<div class="hero-unit span6">
			<div class="span8">
				<h3> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['m_time'],"%D");?>
 Wrote:</h3> 
			</div>
			<div class="span8"><p><?php echo $_smarty_tpl->tpl_vars['row']->value['m_content'];?>
</p></div>
			
			<div class="span8">
			<h3>
			<a href="javascript:show_comment_panel(<?php echo $_smarty_tpl->tpl_vars['row']->value['m_id'];?>
,'diary',' ','<?php echo $_smarty_tpl->tpl_vars['row']->value['user_from'];?>
');">Comment</a>
			<a href="javascript:show_recommend_panel(<?php echo $_smarty_tpl->tpl_vars['row']->value['m_id'];?>
,'diary',' ','<?php echo $_smarty_tpl->tpl_vars['row']->value['user_from'];?>
')">Recommend</a></h3>
			</div>
		</div>
		<?php } ?><?php }} ?>